<? foreach($product->images()->get() as $img):?>
	<div class="col-lg-2 imageuploaditem">
		<div class="well text-center">
			<img src="<?=Croppa::url("/images/products/".$product->id."/".$img->imagefilename, 100)?>" class="img-thumbnail">
			<p><small><strong>Type</strong>: {{$img->imagetype()}}</small></p>
			<button type="button" class="btn btn-danger btn-xs btn-block deleteproductimage" data-url="{{URL::route("manager.products.deleteimage", array($product->id, $img->id) )}}"><i class="fa fa-fw fa-trash-o"></i> Delete</button>
		</div>
	</div>
<? endforeach;?>